home *** CD-ROM | disk | FTP | other *** search
- package sheet;
-
- import javax.microedition.lcdui.Alert;
- import javax.microedition.lcdui.Command;
- import javax.microedition.lcdui.CommandListener;
- import javax.microedition.lcdui.Displayable;
- import javax.microedition.lcdui.List;
- import sheet.SheetShow.4;
-
- class SheetShow$5 implements CommandListener {
- private final Command val$deleteCommand;
- private final Alert val$errAlert;
- private final SheetShow.4 this$1;
-
- SheetShow$5(SheetShow.4 var1, Command var2, Alert var3) {
- this.this$1 = var1;
- this.val$deleteCommand = var2;
- this.val$errAlert = var3;
- }
-
- public void commandAction(Command var1, Displayable var2) {
- List var3 = (List)var2;
- int var4 = var3.getSelectedIndex();
- if (var1 != SheetShow.access$100() && var1 != List.SELECT_COMMAND) {
- if (var1 == this.val$deleteCommand) {
- SheetShow.access$500(4.access$700(this.this$1), "Deleting...", new SheetShow.7(this, var3, var4));
- } else {
- 4.access$700(this.this$1).show();
- }
- } else {
- SheetShow.access$500(4.access$700(this.this$1), "Loading...", new SheetShow.6(this, var3, var4));
- }
-
- }
-
- static SheetShow.4 access$600(SheetShow$5 var0) {
- return var0.this$1;
- }
-
- static Alert access$900(SheetShow$5 var0) {
- return var0.val$errAlert;
- }
- }
-